﻿namespace Lanbt.Core.Entity.EntityDB
{
    /// <summary>
    /// 系统日志
    /// </summary>
    public class lanbt_system_log
    {
        [SqlSugar.SugarColumn(IsPrimaryKey = true,IsIdentity = true)]
        public int Id { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 级别
        /// </summary>
        [SqlSugar.SugarColumn(Length = 64)]
        public string Level { get; set; }

        /// <summary>
        /// 日志对象类
        /// </summary>
        [SqlSugar.SugarColumn(Length = 255)]
        public string? Logger { get; set; }

        /// <summary>
        /// 错误信息
        /// </summary>
        [SqlSugar.SugarColumn(Length = int.MaxValue)]
        public string? Message { get; set; }

        /// <summary>
        /// 错误对象
        /// </summary>
        [SqlSugar.SugarColumn(Length =int.MaxValue)]
        public string? Exception { get; set; }
    }
}
